package com.lovo.project2.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
 * 用户对象
 */
import java.util.List;
import java.util.function.Predicate;

@Data
@TableName("t_user8")
public class UserBean {
    @TableId(value = "id", type = IdType.AUTO)
    private int userId;
    @TableField("user_name")
    private String userName;
    @TableField("pass_word")
    private String passWord;
    @TableField("name")
    private String name;
    @TableField(exist = false)
    private List<RoleBean> roles;
    @TableField(exist = false)
    private List<PermissionBean> permissionBeans;


}
